#include <iostream>
#include "fact.h"
using namespace std;

int main() {
    cout << "5的阶乘：" << fact(5) << endl;
    cout << "6的阶乘：" << fact(6.1) << endl; // double => int，相当于 fact(6)
    return 0;
}